package com.ckjava.entity;

import java.util.Date;

import com.ckjava.entity.base.BaseMybatisEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 用户表Entity
 * @author ckjava
 * @version 2020-08-03
 */

@ApiModel("用户表")
public class TOrderEntity extends BaseMybatisEntity {
	
	private static final long serialVersionUID = 1L;
    @ApiModelProperty(name = "用户id", required = false)
	private Long userId;

	@JsonFormat(timezone = "GMT+08", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "订单时间", required = false)
	private Date orderDate;

    @ApiModelProperty(name = "订单金额", required = false)
	private Long orderAmount;

    @ApiModelProperty(name = "创建人", required = false)
	private String createUser;

    @ApiModelProperty(name = "更新人", required = false)
	private String updateUser;

	
	public TOrderEntity() {
		super();
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}
	
	public Date getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}
	
	public Long getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(Long orderAmount) {
		this.orderAmount = orderAmount;
	}
	
	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	
	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	
}
